package com.pxx.item.api;

import com.pxx.item.pojo.Brand;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/brand")
public interface BrandApi {

    /**
     * 根据brandid查询品牌的信息
     * @param brandId
     * @return
     */
    @GetMapping("/getBrandInfo/{brandId}")
     Brand getBrandInfo(@PathVariable("brandId")Long brandId);

}
